﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Calculate
    {
        protected double First;
        protected double Second;
        public double first
        {
            get { return this.First; }
            set { this.First = value; }
        }
        public void F1()
        {
            Console.WriteLine("用户输入的第一个整数为{}", this.First);
        }
        public double second
        {
            get { return this.Second; }
            set { this.Second = value; }
        }
        public void S1()
        {
            Console.WriteLine("用户输入的第一个整数为{}", this.Second);
        }
        public virtual void DisplayResult()
        {

        }
    }
}